import request from '@/utils/request'

export default {
    getLikeComments: (params) => {
        return request({
            url: '/commentThumbs/getLikeComments',
            method: 'get',
            params
        })
    },
    giveThumbs: (params) => {
        return request({
            url: '/commentThumbs/giveThumbs',
            method: 'post',
            data: params
        })
    },
    cancel: (id) => {
        return request({
            url: '/commentThumbs/cancel/' + id,
            method: 'delete'
        })
    }
}
